package servicepackage;


public class TeacherELService_Driver {
	public void drive ( TeacherELService teacherELService ){
		ResultMessage result = teacherELService.loginTeacher(0000000);
		if( result == ResultMessage.EditLesson.Input.Check ){
			//...
		}
		if( result == ResultMessage.EditLesson.Input.Edit ){
			//...
		}
		if( result == ResultMessage.EditLesson.Input.Delete ){
			//...
		}
		if( result == ResultMessage.Marks.Input.Check){
			//...
		}
		if( result == ResultMessage.Marks.Input.Edit ){
			//...
		}
		if( result == ResultMessage.Marks.Input.Delete ){
			//...
		}
		if( result == ResultMessage.Exit ){
			System.out.println( "���ѳɹ�����" );
		}
		teachereLService.endTeacher();
	}
	
	public static void main( String[] args ){
		TeacherELService teacherController = new TeacherController();
		TeacherELService_Driver driver = new TeacherELService_Driver ( teacherController );
		driver.driver( teacherController );
	}

}
